﻿using WeDonekRpc.Helper.Validate;

namespace Shop.RemoteModel.PageModule.ModuleConfig
{
    public class ModuleSortSet
    {
        /// <summary>
        /// 模版中的模块ID
        /// </summary>
        [NumValidate("shop.page.template.module.id.error", 1)]
        public long Id { get; set; }

        /// <summary>
        /// 模块排序位错误
        /// </summary>
        [NumValidate("shop.page.module.sort.error", 0, 100)]
        public int Sort { get; set; }
    }
}
